package com.gxa.attend.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 学员考勤表
 * </p>
 *
 * @author gxa
 * @since 2022-11-03
 */
@Getter
@Setter
@TableName("tb_attend")
@ApiModel(value = "Attend对象", description = "学员考勤表")
public class Attend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("学员编号")
      @TableId("stu_id")
    private Integer stuId;

    @ApiModelProperty("考勤日期")
    @TableField("attend_date")
    private LocalDate attendDate;

    @ApiModelProperty("考勤类型,包括'早上','下午','晚上'")
    @TableField("attend_type")
    private String attendType;

    @ApiModelProperty("考勤时间")
    @TableField("attend_time")
    private LocalTime attendTime;

    @ApiModelProperty("考勤状态,包括'正常','迟到','早退','旷课','请假'")
    @TableField("attend_status")
    private String attendStatus;

    @ApiModelProperty("考勤打卡位置信息")
    @TableField("attend_gps")
    private String attendGps;

    @ApiModelProperty("考勤图片1")
    @TableField("attend_img1")
    private String attendImg1;

    @ApiModelProperty("考勤图片2")
    @TableField("attend_img2")
    private String attendImg2;

    @ApiModelProperty("考勤图片3")
    @TableField("attend_img3")
    private String attendImg3;

    @ApiModelProperty("逻辑删除字段")
    @TableField("deleted")
    private Boolean deleted;


}
